package org.jianghu.base;

import android.app.Application;

import com.avos.avoscloud.AVOSCloud;

import org.xutils.BuildConfig;
import org.xutils.x;

/**
 * Created by Gtexpress on 16/12/7.
 */

public class JhApplication extends Application{

    @Override
    public void onCreate() {
        super.onCreate();

        //对xUtils进行初始化
        x.Ext.init(this);

        //是否是开发、调试模式
        x.Ext.setDebug(BuildConfig.DEBUG);//是否输出debug日志，开启debug会影响性能

        AVOSCloud.initialize(this,"CSNl2pvj6IsTs6tT6EWNJDOD-gzGzoHsz","gOhuNT6jVQwFfbG3mVhVnzWV");
    }
}
